import { createApp } from "vue";
import { Button } from "vant";
import "vant/lib/index.css";
import { createPinia } from "pinia";

import App from "./App.vue";
import router from "./router";
import "amfe-flexible";
import { Swipe, SwipeItem } from "vant";
// import './assets/main.css'
import { Tabbar, TabbarItem } from "vant";
import { Icon } from "vant";
import { Grid, GridItem } from "vant";
import { CountDown } from "vant";
import { PullRefresh } from "vant";
import { List } from "vant";
import { Image as VanImage } from "vant";
import { NavBar } from "vant";
import { Form, Field, CellGroup } from "vant";
import { Toast } from "vant";
import { Divider } from "vant";
import { SubmitBar } from "vant";
import { Card } from "vant";
import { Tag } from "vant";
import { Checkbox, CheckboxGroup } from "vant";
import { Cell,  } from "vant";
import { Sticky, Stepper, Overlay, Loading } from "vant";
import { Col, Row } from 'vant';
import { SwipeCell } from 'vant';
import { ActionBar, ActionBarIcon, ActionBarButton } from 'vant';
import { Empty } from 'vant';
import { BackTop } from 'vant';
// import { SwipeCell } from 'vant';
// import { Stepper } from 'vant';
// import { Cell, CellGroup } from 'vant';
const app = createApp(App);
app.use(Swipe);
app.use(SwipeItem);
app.use(createPinia());
app.use(router);
app.use(Button);
app.use(Tabbar);
app.use(TabbarItem);
app.use(Icon);
app.use(Grid);
app.use(GridItem);
app.use(CountDown);
app.use(PullRefresh);
app.use(List);
app.use(VanImage);
app.use(NavBar);
app.use(Form);
app.use(Field);
app.use(CellGroup);
app.use(Toast);
app.use(Divider);
app.use(SubmitBar);
app.use(Card);
app.use(Tag);
app.use(Checkbox);
app.use(CheckboxGroup);
app.use(Cell);
app.use(Sticky);
app.use(Stepper);
app.use(Overlay);
app.use(Loading);
app.use(Cell);
app.use(CellGroup);
app.use(Col);
app.use(Row);
app.use(SwipeCell);
app.use(ActionBar);
app.use(ActionBarIcon);
app.use(ActionBarButton);
app.use(Empty);
app.use(BackTop);
// app.use(SwipeCell);
// app.use(Stepper);
app.mount("#app");
